package cn.lili.modules.member.fallback;

import cn.lili.common.exception.ServiceException;
import cn.lili.modules.member.client.MemberStatisticsClient;
import cn.lili.modules.member.entity.dto.MemberStatisticsSearchParams;
import cn.lili.modules.member.entity.vo.MemberDistributionVO;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.List;

/**
 * @author paulG
 * @since 2022/6/28
 **/
public class MemberStatisticsFallback implements MemberStatisticsClient {


    @Override
    public long getMemberCount() {
        throw new ServiceException();
    }

    @Override
    public long todayMemberNum() {
        throw new ServiceException();
    }

    @Override
    public long memberCount(Date endTime) {
        throw new ServiceException();
    }

    @Override
    public long activeQuantity(Date startTime) {
        throw new ServiceException();
    }

    @Override
    public long newlyAdded(MemberStatisticsSearchParams searchParams) {
        throw new ServiceException();
    }

    @Override
    public List<MemberDistributionVO> distribution() {
        throw new ServiceException();
    }
}
